package com.cn.macromazia.controller;

import com.cn.macromazia.commont.util.PhoneUtil;
import com.cn.macromazia.commont.util.RestResult;
import com.cn.macromazia.entity.dto.AddMoUserDTO;
import com.cn.macromazia.service.MoUserService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

@Api(tags = "中台用户")
@RestController
@RequestMapping("/mo_user")
public class MoUserController {

    @Autowired
    private MoUserService moUserService;
    @PostMapping("/add")
    @ApiOperation("插入")
    public int addMoUser(AddMoUserDTO dto){
        return   moUserService.addMoUser(dto);
    }

    //测试一下
}
